package com.xdxc.gateway.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.List;

@ConfigurationProperties(prefix = "security.jwt")
public class JwtProperties {
    private String tokenPrefix;
    private boolean enableRedisCheck;
    private List<String> ignorePaths;

    // Getters and Setters
    public String getTokenPrefix() {
        return tokenPrefix;
    }

    public void setTokenPrefix(String tokenPrefix) {
        this.tokenPrefix = tokenPrefix;
    }

    public boolean isEnableRedisCheck() {
        return enableRedisCheck;
    }

    public void setEnableRedisCheck(boolean enableRedisCheck) {
        this.enableRedisCheck = enableRedisCheck;
    }

    public List<String> getIgnorePaths() {
        return ignorePaths;
    }

    public void setIgnorePaths(List<String> ignorePaths) {
        this.ignorePaths = ignorePaths;
    }
}